package com.youlai.system.mapper;




import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.system.model.entity.Department;
import com.youlai.system.model.entity.Manage;
import com.youlai.system.model.vo.DepartmentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {

    List<DepartmentVO> list();


    List<Manage> manageList();

    void selectNameById(Long deptId);

    Integer selectIdByName(String departmentName);
}
